package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 组合条件关联表
 * </p>
 *
 * @author donnie-bin
 * @since 2019-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WfCombiCondition对象", description="组合条件关联表")
public class WfCombiCondition implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @ApiModelProperty(value = "应用id")
    @TableField("app_id")
    private String appId;

    @ApiModelProperty(value = "条件信息ID")
    @TableField("combi_id")
    private Long combiId;

    @ApiModelProperty(value = "条件枚举ID 枚举表5")
    @TableField("condition_id")
    private Long conditionId;

    @ApiModelProperty(value = "比较符号，枚举(=,!=,>,<,>=,<=,contain)")
    @TableField("condition_symbol")
    private String conditionSymbol;

    @ApiModelProperty(value = "条件值")
    @TableField("condition_value")
    private String conditionValue;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否已删除 yes_no")
    @TableField("is_deleted")
    private Integer isDeleted;


}
